The simplest example of--hello world!
About input, output, and error outputs
Rules for variables in BASH (similarities and differences with C language)
Basic Process Control syntax in BASH
Use of functions
2.1 Simplest example
Basic syntax for BASH
The simplest example of--hello world!
About input, output, and error outputs
Rules for variables in BASH (similarities and differences with C language)
Basic Process Control syntax in BASH
Use of
Basic syntax for BASH
The simplest example of--hello world!
About input, output, and error outputs
Rules for variables in BASH (similarities and differences with C language)
Basic Process Control syntax in BASH
Use of
Shell commonly known as shell (used to distinguish from the kernel), refers to the "user interface to provide users" command parser (software). It is similar to DOS command and later cmd.exe. It receives the user command and then invokes the
When you open a Shell terminal in a Linux environment, you will see a Bash prompt similar to the following in the command line: [[email protected] $host ~]$ do you know that the command line prompt can actually be set to add many very useful
10 shortcuts to master bash-general Linux technology-Linux technology and application information. The following is a detailed description. If you have input commands in a Linux shell Command Prompt, you may have used bash. Because it is the default
Shell types:Sh-Bourne shell CSH or tcsh-C shell Korn-Korn shell bash-GNU Bourne-again shell
1. Simplest ColumnExample #! /Bin/bash # This is a very simple example echo Hello World
Explanation:
In bash, the first line "#! "And later"/bin/bash
6 Bash features
This section describes the unique features of Bash.* Call Bash: command line options acceptable to Bash.* Bash Startup File: When and how to execute the script in Bash.* Interactive Shell: What is an interactive shell.* Bash
Document directory
1. Add a smiley face symbol to the successfully executed command.
6. display the number of running tasks in the background
7. Display path information
8. My prompt
Eight practical and interesting bash command prompt
1. Bash configuration file
In your home directory, run
ls .bash*
You will see these files:
L. bash_history: records the commands you previously entered,L. bash_logout: the command to be executed when you exit the shell,L. bash_profile: the command
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.